try {
	Type.registerNamespace('PorderInScanVO');
	//采购订单入库扫描表VO
	PorderInScanVO = function() {};
	PorderInScanVO.prototype = new NCMMPubUtil.SuperVO();
	PorderInScanVO.PK_PORDERINSCAN = {
		name: "pk_porderinscan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购订单主键**
	PorderInScanVO.PK_ORDER = {
		name: "pk_order",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购单号
	PorderInScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据日期
	PorderInScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
    PorderInScanVO.PK_DEPT_NAME = {
        name: "pk_dept_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//采购订单明细**
	PorderInScanVO.PK_ORDER_B = {
		name: "pk_order_b",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	PorderInScanVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库主数量
	PorderInScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库数量
	PorderInScanVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	PorderInScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
    PorderInScanVO.CASTUNITID_NAME = {
        name: "castunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //换算率
     PorderInScanVO.VCHANGERATE = {
        name: "vchangerate",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
		//物料
	PorderInScanVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	PorderInScanVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//供应商名称
	PorderInScanVO.PK_SUPPLIER_NAME = {
		name: "pk_supplier_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	PorderInScanVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库**
	PorderInScanVO.PK_RECVSTORDOC = {
		name: "pk_recvstordoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库名称**
	PorderInScanVO.PK_RECVSTORDOC_NAME = {
		name: "pk_recvstordoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	PorderInScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	PorderInScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	PorderInScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//物料编码
	PorderInScanVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体ts
	PorderInScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//主单位
	PorderInScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
    PorderInScanVO.CUNITID_NAME = {
        name: "cunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };	
	//批次号编码
	PorderInScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	PorderInScanVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	PorderInScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	PorderInScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	PorderInScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商批次号
	PorderInScanVO.BC_VVENDBATCHCODE = {
		name: "bc_vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	PorderInScanVO.PK_RACK = {
		name: "pk_rack",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	PorderInScanVO.PK_RACKNAME = {
		name: "pk_rackname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	PorderInScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	PorderInScanVO.prototype.getAllAttrs = function() {
		return [
		    PorderInScanVO.PK_PORDERINSCAN,
			PorderInScanVO.PK_ORDER,
			PorderInScanVO.PK_ORDER_B,
			PorderInScanVO.MATERIALNAME,
			PorderInScanVO.NNUM,
			PorderInScanVO.NASTNUM,
			PorderInScanVO.VBILLCODE,
			PorderInScanVO.DBILLDATE,
			PorderInScanVO.HTS,
			PorderInScanVO.PK_SUPPLIER_NAME,
			PorderInScanVO.PK_RECVSTORDOC,
			PorderInScanVO.PK_RECVSTORDOC_NAME,
			PorderInScanVO.PK_MATERIAL,
			PorderInScanVO.MATERIALSPEC,
			PorderInScanVO.MATERIALTYPE,
			PorderInScanVO.MATERIALSHORTNAME,
			PorderInScanVO.MATERIALCODE,
			PorderInScanVO.PK_DEPT_NAME,
			PorderInScanVO.BTS,
			PorderInScanVO.CASTUNITID,
			PorderInScanVO.CASTUNITID_NAME,
			PorderInScanVO.CUNITID,
			PorderInScanVO.CUNITID_NAME,
			PorderInScanVO.VCHANGERATE,
			PorderInScanVO.VBATCHCODE,
			PorderInScanVO.PK_BATCHCODE,
			PorderInScanVO.NSCANNUM,
			PorderInScanVO.NSCANASTNUM,
			PorderInScanVO.CROWNO,
			PorderInScanVO.BC_VVENDBATCHCODE,
			PorderInScanVO.PK_RACK,
			PorderInScanVO.PK_RACKNAME,
			PorderInScanVO.VSERIALCODE		
		];
	};
	PorderInScanVO.prototype.getTableName = function() {
		return "po_orderin_scan";
	};
	PorderInScanVO.prototype.getPrimaryAttr = function() {
		return PorderInScanVO.PK_PORDERINSCAN;
	};

} catch(e) {
	$e(e);
}